﻿using System;
using System.Xml.Serialization;

namespace Zendesk.NET.Models
{
    [XmlRoot("organization")]
    public class Organization
    {
        [XmlElement("created-at")]
        public DateTime Created;

        [XmlElement("default")]
        public string Default;
        
        [XmlElement("details")]
        public string Details;
        
        //[XmlElement("group-id")]
        //public int? GroupId;
        
        [XmlElement("id")]
        public int Id;
        
        [XmlElement("is-shared")]
        public bool IsShared;
        
        [XmlElement("is-shared-comments")]
        public bool IsSharedComments;
        
        [XmlElement("name")]
        public string Name;
        
        [XmlElement("notes")]
        public string Notes;
        
        [XmlElement("suspended")]
        public bool Suspended;
        
        [XmlElement("updated-at")]
        public DateTime Updated;
    }
}
